<!DOCTYPE html>
<meta charset="utf-8">
<title>Test that trial is enabled by third-party token, injected via a nested classic script</title>
<script src="../resources/testharness.js"></script>
<script src="../resources/testharnessreport.js"></script>
<script src="resources/origintrials.js"></script>
<script src="http://localhost:8000/origin_trials/resources/inject-third-party-token-nested.js"></script>
<script>
  // Run tests on load, to allow for nested script to be processed.
  window.onload = function () {
    // The trial is enabled, by the third party token added in
    // inject-third-party-token-nested.js, which is an external script, served
    // from a different origin.
    expect_success_third_party();
  }
</script>
